package com.lcp.service;

import com.lcp.entity.DietRecord;

import java.util.List;
import java.util.Map;

public interface DietRecordService {
    DietRecord getById(Long id);
    
    List<DietRecord> listByUserId(Long userId);
    
    DietRecord create(DietRecord record);
    
    DietRecord update(DietRecord record);
    
    void delete(Long id);
    
    List<DietRecord> listByDateRange(Long userId, String startDate, String endDate);
    
    List<DietRecord> listByMealType(Long userId, String mealType, String date);
    
    Map<String, Object> getDailyNutritionSummary(Long userId, String date);
    
    Map<String, Object> getWeeklyNutritionTrend(Long userId, String startDate, String endDate);
} 